Skip to main content

Reply Mail

AutomatR.ExchangeServer.Activities.ReplyMail

The "Reply Mail" activity in AutomatR is part of the Exchange Server activities package, allowing you to reply to a specified email. This activity simplifies the process of composing and sending a reply, including support for attachments and different reply types.

Properties

NameDescription
Input
AttachmentsSpecify the full file path of the file(s) you wish to attach from your local drive as a reply to the email, using a List<String> variable.
BodyProvide the desired body content that you would like to send as a reply, in the form of text or HTML. String variable containing the reply body.
Mail MessageSpecify the message you want to reply to. This field only supports a mail message variable.
Reply TypeSelect a reply type from the dropdown menu to specify the appropriate format for the reply email to be sent. Enum variable representing reply types (e.g., Reply or ReplyAll).
SubjectProvide the subject line of the email for which you would like to send a reply. String variable containing the reply subject.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelayEnter the wait time in seconds (Example 5 seconds, i.e., 5) to start the activity. Integer variable representing the delay duration.

How to use:

  1. Drag and drop the "Reply Mail" activity onto the workflow.
  2. Configure the properties by specifying the email to reply to, reply type, subject, body, and attachments (if needed).
  3. Optionally, configure the delay.
  4. Execute the workflow to send a reply email.

Example: Consider an example where the "Reply Mail" activity is used to reply to an email with a specific subject and body:

Reply Mail:
Mail Message: originalMailMessage
Reply Type: Reply
Subject: "Re: Your Inquiry"
Body: "Thank you for your inquiry. We will get back to you shortly."
Attachments: attachmentPathsList

In this example, the activity replies to the original email (originalMailMessage) with the subject "Re: Your Inquiry" and the body "Thank you for your inquiry. We will get back to you shortly." The attachments are specified using the attachmentPathsList variable.